<?php slot('title', "视频播报 - ") ?>
<?php slot('area', "{$area}赛区") ?>
<?php use_javascript('imgtoggle') ?>
<!--Video Foucs-->
<div class="video_cont1">
   <div class="video_cont1_left">
      <!--Foucs Start-->
      <div class="video_box" id="box">
         <ul class="video_num" id="num">
            <li class="act"><a href="javascript:void(0)">1</a></li>
            <li><a href="javascript:void(0)">2</a></li>
            <li><a href="javascript:void(0)">3</a></li>
            <li><a href="javascript:void(0)">4</a></li>
            <li><a href="javascript:void(0)">5</a></li>
         </ul>
         <ul class="video_img" id="imgs">
            <li><img src="/images/video_foucs.gif" width="540" height="330" alt="介绍信息" /></li>
            <li><img src="/images/video_foucs.gif" width="540" height="330" alt="介绍信息" /></li>
            <li><img src="/images/video_foucs.gif" width="540" height="330" alt="介绍信息" /></li>
            <li><img src="/images/video_foucs.gif" width="540" height="330" alt="介绍信息" /></li>
            <li><img src="/images/video_foucs.gif" width="540" height="330" alt="介绍信息" /></li>
         </ul>
      </div>
      <!--Foucs Over-->
 </div>
   <div class="video_cont1_right"><img src="/images/video_youku.gif" /></div>
   <div class="clears"></div>
</div>

<!--Content 2-->
<?php if (count($thefinal)): ?>
<div class="video_cont2">
   <div class="video_cont2_top"><span class="ft8"><span class="ft9">总决赛</span><a href="#">更多 >></a></span></div>
   <div class="video_cont2_center">
      <ul>
	  <?php foreach ($thefinal as $video): ?>
         <li><a href="<?php
              echo url_for('@video_show?id=' . $video->getId()) 
            ?>"><img src="<?php 
                printf(sfConfig::get('app_path_video_thumb'), $video->getThumb()) 
              ?>" alt="video" /></a><span><a href="<?php
                echo url_for('@video_show?id=' . $video->getId()) 
              ?>"><?php echo $video->getTitle() ?></a></span></li>

	   <?php endforeach ?>
      </ul>
      <div class="clears"></div>
   </div>
   <div class="video_cont2_bottom"><img src="/images/jiali_bottom.gif" width="950" height="5" /></div>
</div>
<?php endif ?>

<!--Content 3-->
<?php if (count($semifinal)): ?>
<div class="video_cont2">
   <div class="video_cont2_top"><span class="ft8"><span class="ft9">半决赛</span><a href="#">更多 >></a></span></div>
   <div class="video_cont2_center">
      <ul>
	  <?php foreach ($semifinal as $video): ?>
         <li><a href="<?php
              echo url_for('@video_show?id=' . $video->getId()) 
            ?>"><img src="<?php 
                printf(sfConfig::get('app_path_video_thumb'), $video->getThumb()) 
              ?>" alt="世界名模大赛" /></a><span><a href="<?php
                echo url_for('@video_show?id=' . $video->getId()) 
              ?>"><?php echo $video->getTitle() ?></a></span></li>
      <?php endforeach ?>
      </ul>
      <div class="clears"></div>
   </div>
   <div class="video_cont2_bottom"><img src="/images/jiali_bottom.gif" width="950" height="5" /></div>
</div>
<?php endif ?>

<!--Content 4-->
<?php if (count($primary)): ?>
<div class="video_cont2">
   <div class="video_cont2_top"><span class="ft8"><span class="ft9">预选赛</span><a href="#">更多 >></a></span></div>
   <div class="video_cont2_center">
      <ul>
	  <?php foreach ($primary as $video): ?>
         <li><a href="<?php
              echo url_for('@video_show?id=' . $video->getId()) 
            ?>"><img src="<?php 
                printf(sfConfig::get('app_path_video_thumb'), $video->getThumb()) 
              ?>" alt="世界名模大赛" /></a><span><a href="<?php
                echo url_for('@video_show?id=' . $video->getId()) 
              ?>"><?php echo $video->getTitle() ?></a></span></li>
     <?php endforeach ?>
      </ul>
      <div class="clears"></div>
   </div>
   <div class="video_cont2_bottom"><img src="/images/jiali_bottom.gif" width="950" height="5" /></div>
</div>
<?php endif ?>